from selenium.webdriver.common.by import By

byid = By.ID
byname = By.NAME
bycname = By.CLASS_NAME
bytname = By.TAG_NAME
bylink = By.LINK_TEXT
bycss = By.CSS_SELECTOR
byxpath = By.XPATH

#登录界面元素配置信息
login_username = byxpath,'/html/body/div/div/div/form/div[1]/div/div/input'
login_password = byxpath,'/html/body/div/div/div/form/div[2]/div/div/input'
login_button = byxpath,'/html/body/div/div/div/form/div[3]/div/button/span'
login_err_info = byxpath, '/html/body/div[2]'


